/* 首页图片背景 */
.image-bg {
  opacity: .7;
}

.home-hero .image {
  width: 200px;
  height: 200px;
}

.nav-bar .logo {
  height: 30px;
  margin-right: 2px;
}

.content img {
  border-radius: 10px;
}

.nav-dropdown-link-item .icon {
  display: none;
}

:root {
  --c-brand: #3f8bdb;
  --c-brand-light: #63a6ed;
}

.custom-block.tip {
  border-color: var(--c-brand-light);
}

.DocSearch {
  --docsearch-primary-color: var(--c-brand) !important;
}

#play-vite-audio {
  padding: 0;
  margin-left: 5px;
  display: inline-flex;
}

#play-vite-audio img {
  opacity: 0.8;
}

/* docs-cn specific */
.cn-footnote {
  margin-top: 20px;
}

.cn-footnote .title {
  display: block;
  margin-bottom: 10px;
}

.docs-cn-github-release-tag {
  font-size: 14px;
  font-weight: bold;
  padding: 4px 6px;
  margin-left: 6px;
  background: var(--c-brand);
  color: white;
  border-radius: 10px;
  vertical-align: middle;
}

#wwads-container {
  position: relative;
  float: right;
  z-index: 9;
  margin: 0 0 16px 16px;
}

#wwads-container .wwads-text {
  font-size: 12px;
}

.page .container .content {
  clear: none !important;
}

@media (min-width: 1368px) {
  #wwads-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    margin: 0;
  }
}

/* 强制覆盖标题不显示 # 标识 */
.vp-doc .header-anchor:before {
    content: none;
}
/* 侧边栏文字超出隐藏 */
.VPSidebarItem .VPLink p {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 200px;
}

/* 文档页面调整 */
@media (min-width: 1440px) {
    .VPSidebar {
        padding-left: 20px !important;
        width: 240px !important;
    }
    .VPNavBar .title {
        padding-left: 10px !important;
        width: 230px !important;
    }
    .VPNavBar .VPNavBarSearch {
        padding-left: 260px !important;
    }
    .VPContent.has-sidebar {
        padding-left: 250px !important;
        padding-right: 5vw !important;
    }
    .VPNavBar .curtain {
        width: 100% !important;
    }
    .VPNavBar .content {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (min-width: 960px) {
    .VPDoc {
        padding: 32px 0 0 !important;
    }
    .VPNavBar .content {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
.VPNavBar {
    padding-right: 20px !important;
}
.VPNavBar .container {
    margin: unset;
    max-width: unset;
}
.VPDoc.has-aside .content-container {
    max-width: 100% !important;
}
.aside {
    max-width: 200px !important;
    padding-left: 0 !important;
}
/* hr 样式的修改 */
.vp-doc hr {
    margin: 16px 0;
    border: none !important;
}
/* 翻页按钮标题文字超出隐藏 */
.VPDocFooter .pager .title {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/* 引用样式修改 */
.vp-doc blockquote {
    border-left: 6px solid #0094ff;
}
/* 文本超链接样式修改 */
.vp-doc a {
    text-decoration: underline;
}
/* 夜间模式字体颜色修正 */
:root {
    --vp-c-text-dark-1: rgba(255, 255, 197, 0.86);
    --vp-c-text-dark-2: rgba(207, 216, 231, 0.6);
    --vp-c-text-dark-3: rgba(207, 216, 231, 0.38);
}
